export const formSchema = [
  {
    component: 'Input',
    defaultValue: '',
    fieldName: 'roleName',
    label: '角色名称',
    componentProps: {
      placeholder: '请输入角色名',
    },
  },
  {
    component: 'Input',
    defaultValue: '',
    fieldName: 'roleCode',
    label: '角色编号',
    componentProps: {
      placeholder: '请输入角色编号',
    },
  },
];
/** 表头 */
export const columns = [
  { title: '序号', type: 'seq', width: 50 },
  { field: 'deptName', title: '部门' },
  { field: 'roleName', title: '角色名称' },
  { field: 'roleCode', title: '角色编号' },
  { field: 'roleType', title: '类型' },
  {
    field: 'action',
    fixed: 'right',
    slots: { default: 'action' },
    title: '操作',
    width: 200,
  },
];
